<%-- 
    Document   : historiqueCommande
    Created on : 29 mars 2013, 00:22:14
    Author     : virginie
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>MiagistShop - Historique de mes commandes</title>
        <link rel="stylesheet" type="text/css" media="screen" href="jsp/css/css_main.css" />
    </head>
    <body>
        <s:include value="homePage.jsp"/>


        <!-- Document --> 
        <div id="document2"> 

            <!-- Colonne 1 ListeCatégorie --> 

            <s:include value="colonne1Menu.jsp"/>  
            
            <!-- Colonne 2 --> 
            <div id="colonne2" style="text-align: center;"> 
                <h2>Historique de mes commandes</h2>
                
                
                <s:if test="%{facturePresentation.size()<1}">
                    Il n'existe pas d'historique de commande.
                </s:if>
                <s:else>
                    <s:iterator value="facturePresentation">
                       
                       
                        <table>
                        <tr>
                            <td>Date de la commande</td>
                            <td><s:property value="%{facturePresentation.date}"/></td>
                        </tr>
                        <tr>
                            <td>Date de la commande</td>
                            <td><s:property value="%{date}"/></td>
                        </tr>
                        </table>
                    </s:iterator>
                </s:else>
            </div>   

            <!-- Colonne 3 --> 
            <s:include value="recherche.jsp"/> 

        </div>


        <!-- Footer --> 
        <s:include value="footer.jsp"/> 


    </body>
</html>
